package com.geostar.constructionland.statistics.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.geostar.constructionland.common.entity.statistics.LogStatistics;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/**
 * @Author zhu_jiacheng
 * @Date:2020/7/15 13:35
 */
@Repository
public interface LogStaticMapper extends BaseMapper<LogStatistics> {

    /***
     * 根据分析类型和业务id获取统计配置文件
     * @return
     */
    List<LogStatistics> getLogStatistics(@Param("profileId") String profileId);

    /**
     *
     * @param sql
     * @return
     */
    List<Map> executeSql(String sql);
}
